package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 申请采购明细对象 lab_product_cas
 * 
 * @author winner
 * @date 2022-03-23
 */
public class LabProductCas extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 危化品ID */
    private Long productId;

    /** 申购老师 */
    @Excel(name = "申购老师")
    private String applyTeacher;

    /** CAS编号 */
    @Excel(name = "CAS编号")
    private String casNo;

    /** 危化品名称 */
    @Excel(name = "危化品名称")
    private String materialName;

    /** 类别 */
    @Excel(name = "类别")
    private Long hazardousOpt;

    /** 型号规格 */
    @Excel(name = "型号规格")
    private String model;

    /** 单位 */
    @Excel(name = "单位")
    private Long unitOpt;

    /** 单位 */
    @Excel(name = "单位")
    private String unitOptStr;

    public String getUnitOptStr() {
        return unitOptStr;
    }

    public void setUnitOptStr(String unitOptStr) {
        this.unitOptStr = unitOptStr;
    }

    /***
     * 记录购买数量
     */
    private Long quantity;
    

    public Long getQuantity() {
		return quantity;
	}

	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

	/** 领用日期 */
    private String storageTime;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private BigDecimal inventoryNum;

    /** 包装重量 */
    @Excel(name = "包装重量")
    private String packageWeight;

    /** 所属实验室 */
    @Excel(name = "所属实验室")
    private Long orgId;
    
    private String orgName;
    
    public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	/** 二维码 */
    private String qrCode;
    
	private Long purchaseDetailId;
    
	public Long getPurchaseDetailId() {
		return purchaseDetailId;
	}

	public void setPurchaseDetailId(Long purchaseDetailId) {
		this.purchaseDetailId = purchaseDetailId;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	private BigDecimal scanoutNum;
	
	private BigDecimal scaninNum;
	
	
	public BigDecimal getScanoutNum() {
		return scanoutNum;
	}

	public void setScanoutNum(BigDecimal scanoutNum) {
		this.scanoutNum = scanoutNum;
	}

	public BigDecimal getScaninNum() {
		return scaninNum;
	}

	public void setScaninNum(BigDecimal scaninNum) {
		this.scaninNum = scaninNum;
	}

	public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setApplyTeacher(String applyTeacher) 
    {
        this.applyTeacher = applyTeacher;
    }

    public String getApplyTeacher() 
    {
        return applyTeacher;
    }
    public void setCasNo(String casNo) 
    {
        this.casNo = casNo;
    }

    public String getCasNo() 
    {
        return casNo;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setHazardousOpt(Long hazardousOpt) 
    {
        this.hazardousOpt = hazardousOpt;
    }

    public Long getHazardousOpt() 
    {
        return hazardousOpt;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setUnitOpt(Long unitOpt) 
    {
        this.unitOpt = unitOpt;
    }

    public Long getUnitOpt() 
    {
        return unitOpt;
    }
    public void setStorageTime(String storageTime) 
    {
        this.storageTime = storageTime;
    }

    public String getStorageTime() 
    {
        return storageTime;
    }
    public void setInventoryNum(BigDecimal inventoryNum) 
    {
        this.inventoryNum = inventoryNum;
    }

    public BigDecimal getInventoryNum() 
    {
        return inventoryNum;
    }
    public void setPackageWeight(String packageWeight) 
    {
        this.packageWeight = packageWeight;
    }

    public String getPackageWeight() 
    {
        return packageWeight;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("applyTeacher", getApplyTeacher())
            .append("casNo", getCasNo())
            .append("materialName", getMaterialName())
            .append("hazardousOpt", getHazardousOpt())
            .append("model", getModel())
            .append("unitOpt", getUnitOpt())
            .append("storageTime", getStorageTime())
            .append("inventoryNum", getInventoryNum())
            .append("packageWeight", getPackageWeight())
            .append("orgId", getOrgId())
            .toString();
    }
}
